#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<string>
#include<unordered_map>
using namespace std;
class Solution {
public:
    bool judge(string s, string t)
    {
        int sz = s.size(), tz = t.size();
        unordered_map<char, char> mp;
        for (int i = 0;i < sz;i++)
        {
            if (!mp.count(s[i]))
                mp[s[i]] = t[i];
            else if (mp[s[i]] != t[i])
                return false;
        }
        return true;
    }
    bool isIsomorphic(string s, string t) {
        int sz = s.size(), tz = t.size();

        if (sz != tz)
            return false;

        return judge(s, t) && judge(t, s);

    }
};
int main()
{
    return 0;
}